package com.screen.screendisplay.entity.coal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 生产经营煤炭销售结构表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_coal_prodoper_sales_structure")
@ApiModel(value = "CoalProdoperSalesStructure对象", description = "生产经营煤炭销售结构表")
public class CoalProdoperSalesStructure implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "销售渠道类型：0：系统内，1：系统外")
    @TableField("sales_channel")
    private Integer salesChannel;

    @ApiModelProperty(value = "销售合同类型：0：长协煤，1：市场煤")
    @TableField("contract_type")
    private Integer contractType;

    @ApiModelProperty(value = "销售量(吨)")
    @TableField("sales_volume")
    private BigDecimal salesVolume;

    @ApiModelProperty(value = "单位名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "单位编码")
    @TableField("unit_code")
    private String unitCode;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updater")
    private String updater;
}
